var express = require("express");

//第一个版本
var apiVersion1 = require("./api_v1.js");
//第二个版本
var apiVersion2 = require("./api_v2.js");
var app = express();

app.use("/v1", apiVersion1);
app.use("/v2", apiVersion2);
app.listen(3000, function () {
    console.log("App started on port 3000");
});
